﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master"
    AutoEventWireup="true" CodeBehind="New.aspx.cs" Inherits="FrameWork.web.Module.IntegralMS.IntegralMS.ClassManager.New" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/css/subModal.css" />
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/common.js"></script>
    <script type="text/javascript" src="<%=Page.ResolveUrl("~/") %>inc/FineMessBox/js/subModal.js"></script>
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        HeadTitleTxt="班级资料管理" HeadOPTxt="新增班级">
    </FrameWorkWebControls:HeadMenuWebControls>
<FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
    <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="新增班级">
        <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
            <tr id="Tr1" runat="server">
                <td class="table_title" colspan="2">
                    <asp:Label ID="CatListTitle" runat="server"></asp:Label>
                </td>
            </tr>
            <tr id="TopTr" runat="server">
                <td class="table_body">
                    归属阶段
                </td>
                <td class="table_none">
                    <asp:Label ID="C_ParentID_Txt" runat="server"></asp:Label>
                </td>
            </tr>
            <tr id="Tr2" runat="server">
                <td class="table_body" style="height: 25px">
                    班级名称
                </td>
                <td class="table_none" style="height: 25px">
                    <asp:TextBox ID="C_CName" title="请输入班级名称~50:!" runat="server" CssClass="text_input"></asp:TextBox>
                </td>
            </tr>
            <tr id="Tr3" runat="server">
                <td class="table_body" style="height: 25px;">
                    负责人
                </td>
                <td class="table_none" style="height: 25px">
                    <input id="ToId" runat="server" type="hidden" />
                    <asp:ListBox ID="lboxUserList" runat="server" Height="172px" 
                        SelectionMode="Multiple" Width="99px"></asp:ListBox>
                    &nbsp; (按住CTRL键选择多个)</td>
            </tr>
            <tr>
                <td colspan="2">
                </td>
            </tr>
            <tr id="SubmitTr" runat="server">
                <td colspan="2" align="right">
                    <asp:Button ID="Button1" runat="server" CssClass="button_bak" Text="确定" OnClick="Button1_Click" />
                    <input id="Reset1" class="button_bak" type="reset" value="重填" />&nbsp;
                </td>
            </tr>
        </table>
    </FrameWorkWebControls:TabOptionItem>
</FrameWorkWebControls:TabOptionWebControls>
    <script type="text/javascript" language="javascript">
        function opendialog1() {
            var someValue = window.showModalDialog("Select1.aspx", "", "dialogWidth=500px;dialogHeight=500px;status=no;help=no;scrollbars=no");
            document.form1.p1t.value = someValue;
        }
        function user_select2() {           
            user_select0("", "");
        }
        function user_select0(UserID, UserName) {
            var url = "../UserSelect/index.aspx?ToId=" + UserID + "&ToName=" + UserName;
            var mwidth = "500";
            var mheight = "400";
            var loc_x, loc_y;
            var ret = "";
            if (window.navigator.appName.toLowerCase().indexOf("netscape") > -1) {
                loc_x = parseInt((document.body.clientWidth - mwidth) / 2 + 200);
                loc_y = parseInt((document.body.clientHeight - mheight) / 2);
                ret = window.open(url, "user_select", "left=" + loc_x + "px,top=" + loc_y + "px,width=" + mwidth + "px,height=" + mheight + "px,resizable=no,scrollbars=yes,status=0");
            }
            else {
                loc_x = document.body.scrollLeft + event.clientX - event.offsetX - 100;
                loc_y = document.body.scrollTop + event.clientY - event.offsetY + 50;
                ret = window.showModalDialog(url, self, "edge:raised;scroll:1;status:0;help:0;resizable:1;dialogWidth:" + mwidth + "px;dialogHeight:" + mheight + "px;dialogTop:" + loc_y + "px;dialogLeft:" + loc_x + "px");
            }
        }
    </script>
</asp:Content>
